package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖项规则对象 awards_add
 *
 * @author xrx
 * @date 2024-06-12
 */
public class AwardsRule extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 大类
     */
    @Excel(name = "大类")
    private Long type;

    /**
     * 场景
     */
    @Excel(name = "场景")
    private String scene;

    /**
     * 主创人积分
     */
    @Excel(name = "主创人积分")
    private Integer firstPoints;

    /**
     * 成员积分
     */
    @Excel(name = "成员积分")
    private Integer secondPoints;



    /**
     * 管控要求
     */
    @Excel(name = "管控要求")
    private String requireDesc;

    /**
     * 积分添加方式
     */
    @Excel(name = "积分添加方式")
    private Integer pointsWay;

    /**
     * 管理部门
     */
    @Excel(name = "管理部门")
    private String deptName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getType() {
        return type;
    }

    public void setScene(String scene) {
        this.scene = scene;
    }

    public String getScene() {
        return scene;
    }

    public void setFirstPoints(Integer firstPoints) {
        this.firstPoints = firstPoints;
    }

    public Integer getFirstPoints() {
        return firstPoints;
    }

    public void setSecondPoints(Integer secondPoints) {
        this.secondPoints = secondPoints;
    }

    public Integer getSecondPoints() {
        return secondPoints;
    }

    public void setRequireDesc(String requireDesc) {
        this.requireDesc = requireDesc;
    }

    public String getRequireDesc() {
        return requireDesc;
    }

    public void setPointsWay(Integer pointsWay) {
        this.pointsWay = pointsWay;
    }

    public Integer getPointsWay() {
        return pointsWay;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("type", getType())
                .append("scene", getScene())
                .append("firstPoints", getFirstPoints())
                .append("secondPoints", getSecondPoints())
                .append("requireDesc", getRequireDesc())
                .append("pointsWay", getPointsWay())
                .append("createTime", getCreateTime())
                .append("deptName", getDeptName())
                .toString();
    }
}
